//
//  BattleView.h
//  Dispatch
//
//  Created by hyeyeon on 14. 1. 14..
//  Copyright (c) 2014년 hyeyeon. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "AppDelegate.h"
#import "ViewController.h"
#import "ListCell.h"
#import "BattlingView.h"
#import "BattleRankingView.h"
#import "EGORefreshTableHeaderView.h"

@interface BattleView : UIView <UITableViewDataSource, UITableViewDelegate,EGORefreshTableHeaderDelegate>
{
    AppDelegate *appDelegate;
    
    UITableView *mTableView;
    UIButton *topMoveButton;
    
    //네트워크 받는중
    BOOL duringNetwork;
    
    BOOL isEnd;
    NSInteger currentPage;
    
    NSDateFormatter *dateFormatter;
    
    //스크롤잡을라고
	EGORefreshTableHeaderView *_refreshHeaderView;
	BOOL _reloading;
    
    UIView *activieiBGView;
    UIActivityIndicatorView *activityView;
}
@property (nonatomic, strong) NSMutableData *responseData;
@property (nonatomic, retain) NSArray *battlingArray; //현재 배팅중인 리스트
@property (nonatomic, retain) NSMutableArray *itemArray;     //지난순위 리스트
@property (nonatomic, retain) NSMutableDictionary *battlingImages;   //배팅중인이미지들 저장

//data
@property (nonatomic, retain) NSString *imageURL;
@property (nonatomic, retain) NSString *titleMessage;


-(void)appearBattlingView:(NSNumber*)number;
@end
